function my_contour(lat,lon,Z,opt)
% my_contour(lat,lon,Map)
% ----------------------
% Description:
% 	plot contour 
% Input:
% 	lat,lon
% 	Map, pattern to plot
% 	opt:
% 		"LineSpec": similar to contour
% 		"ShowText": true of false, show value of contour of not
% 		"Levels": contour line to plot
% Output:
% 	figure
% Author: Sid Chen
% Log:
% 	2022/08/24 created
%
	arguments
		lat
		lon
		Z
		opt.LineSpec = 'k'
		opt.ShowText = 'off'
		opt.Levels = []
	end
	X = lon;
	Y = lat;

	if ~isempty(opt.Levels)
		contour(X,Y,Z,opt.Levels,...
			opt.LineSpec,...
			'ShowText',opt.ShowText);
	else
		contour(X,Y,Z,opt.LineSpec,...
			'ShowText',opt.ShowText);
	end
end
